#include "hal_function.h"


void app_sntp_init(void)
{
    sntp_setoperatingmode(SNTP_OPMODE_POLL);
    sntp_setservername(0, "210.72.145.44");	//国家授时中心
    sntp_setservername(1, "ntp.aliyun.com");//阿里
    sntp_setservername(2, "ntp.tuna.tsinghua.edu.cn");//清华
    sntp_init();
}



